import request from '@/utils/request_zc'

export function getDistributionManagementList ({
  page,
  limit,
  distributionNo,
  carryApplyNo
}) {
  return request({
    url: '/distribution/list',
    method: 'get',
    params: {
      page,
      limit,
      distributionNo,
      carryApplyNo
    }
  })
}

export function editDistributionManagement (data) {
  return request({
    url: '/distribution/edit',
    method: 'post',
    data
  })
}

export function addDistributionManagement (data) {
  return request({
    url: '/distribution/add',
    method: 'post',
    data
  })
}

export function delDistributionManagement ({ ids }) {
  return request({
    url: '/distribution/del',
    method: 'post',
    data: {
      ids
    }
  })
}



